// Copyright Epic Games, Inc. All Rights Reserved.

#pragma once

#include "CoreMinimal.h"
#include "Widgets/Docking/SDockTab.h"

class FGKConfigEditorModule : public IModuleInterface
{
public:

	/** IModuleInterface implementation */
	virtual void StartupModule() override;
	virtual void ShutdownModule() override;

	TSharedRef<SDockTab> SpawnGKConfigEditorTab(const FSpawnTabArgs& Args);
	TSharedPtr<SWidget> SpawnGKConfigEditorUI();
	bool HandleSettingsSaved();

private:
	TSharedPtr<class FUICommandList> GKPluginCommands;
	TWeakPtr<SDockTab> GKConfigEditorSlate;
	TWeakPtr<class SGKConfigTab> GKConfigTab;
};
